package com.cn.medicalcare.service;

import com.cn.medicalcare.pojo.Advertisement;
import com.cn.medicalcare.pojo.AllPage;

import java.util.List;

public interface AdvertisementService {

    List<Advertisement> selectSurvivalAdvertisement();

    int selectAdvertisementCount(Advertisement advertisement);

    List<Advertisement> selectAdvertisementInPage(AllPage<Advertisement> allPage);

    boolean insertAdvertisement(Advertisement advertisement);

    boolean updateAdvertisement(Advertisement advertisement);

}
